/**
 * 
 */
package de.tsvberssel.domain;

import java.util.LinkedList;
import java.util.List;

import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author starbuck
 *
 */
@XmlRootElement(name="game_file")
public class GameFile {
	
	
	private List<Question> questions = null;

	/**
	 * @return the questions
	 */
	@XmlElementRef
	public List<Question> getQuestions() {
		if (this.questions == null) {
			this.questions = new LinkedList<Question>();
		}
		return this.questions;
	}

	/**
	 * @param questions the questions to set
	 */
	public void setQuestions(List<Question> questions) {
		this.questions = questions;
	}
	
	

}
